package cn.lkx.eduservice.mapper;

import cn.lkx.eduservice.entity.EduCourse;
import cn.lkx.eduservice.entity.vo.CoursePublishVo;
import cn.lkx.eduservice.entity.vo.frontvo.CourseDetailVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author lkx
 * @since 2022-05-03
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    //后台 多表联合查询出最终发布课程信息
    public CoursePublishVo getPublishCourseInfo(String courseId);
    //前台 查询获取课程详情
    CourseDetailVo getCourseDetailById(String courseId);
}
